package genetica.cromosomas;

import genetica.cromosomas.evaluadores.EvaluadorFuncion;

import java.util.ArrayList;
import java.util.Random;

public class CromosomaFuncionConN extends CromosomaFuncion {

	protected int n;
	
	public CromosomaFuncionConN(ArrayList<Double> xmin, ArrayList<Double> xmax,
			double precision, Random r, EvaluadorFuncion evaluador, int n) {
		super(xmin, xmax, precision, r, evaluador);
		this.n = n;
	}
	
	public CromosomaFuncionConN(CromosomaFuncionConN other){
		super(other);
		this.n= other.n;
	}
	
	public CromosomaFuncionConN clone(){
		return new CromosomaFuncionConN(this);
	}

}
